package com.yipei.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yipei.common.annotation.Excel;
import com.yipei.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 交易账号对象 ml_trade_account
 *
 * @author yipei
 * @date 2024-12-21
 */
@TableName("ml_trade_account")
@ApiModel(value = "交易账号", description = "交易账号")
@Data
public class MlTradeAccount extends BaseEntity  {
    private static final Long serialVersionUID = 1L;
    /**
     * id
     */
    @ApiModelProperty(value = "表ID", position = 1)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 备注
     */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注", position = 2)
    private String remarks;

    /**
     * 资金账号
     */
    @Excel(name = "资金账号")
    @ApiModelProperty(value = "资金账号", position = 3)
    private String atAcc;

    /**
     * 交易账号
     */
    @Excel(name = "交易账号")
    @ApiModelProperty(value = "交易账号", position = 4)
    private String tdAcc;

    /**
     * 账号类型
     */
    @Excel(name = "账号类型")
    @ApiModelProperty(value = "账号类型", position = 5)
    private BigDecimal tdType;

    /**
     * 状态
     */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态", position = 6)
    private Long status;

    /**
     * 是否免五
     */
    @Excel(name = "是否免五")
    @ApiModelProperty(value = "是否免五", position = 7)
    private BigDecimal fFive;

    /**
     * 买入手续费
     */
    @Excel(name = "买入手续费")
    @ApiModelProperty(value = "买入手续费", position = 8)
    private BigDecimal buyRate;

    /**
     * 卖出手续费
     */
    @Excel(name = "卖出手续费")
    @ApiModelProperty(value = "卖出手续费", position = 9)
    private BigDecimal sellRate;

    /**
     * 冻结资金
     */
    @Excel(name = "冻结资金")
    @ApiModelProperty(value = "冻结资金", position = 10)
    private BigDecimal djCash;

    /**
     * 可用资金
     */
    @Excel(name = "可用资金")
    @ApiModelProperty(value = "可用资金", position = 11)
    private BigDecimal kyCash;


    /**
     * 交易密码
     */
    @Excel(name = "交易密码")
    @ApiModelProperty(value = "交易密码", position = 12)
    private String tdPwd;

    /**
     * 现金
     */
    @Excel(name = "现金")
    @ApiModelProperty(value = "现金", position = 13)
    private BigDecimal cash;

    /**
     * 费用
     */
    @Excel(name = "费用")
    @ApiModelProperty(value = "费用", position = 14)
    private BigDecimal cost;

    /**
     * 锁定费用
     */
    @Excel(name = "锁定费用")
    @ApiModelProperty(value = "锁定费用", position = 15)
    private BigDecimal aaLock;

    @Excel(name = "可取资金")
    @ApiModelProperty(value = "可取资金", position = 15)
    private BigDecimal kqZj;
    @Excel(name = "融资比例")
    @ApiModelProperty(value = "融资比例", position = 15)
    private String  financingRatio;
    /**
     * 确认密码
     */
    @TableField(exist = false)
    private String confirmPassword;
}
